package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 员工表
    */
public class Staff implements Serializable {
    private Integer id;

    /**
    * 工号
    */
    private String jobNumber;

    /**
    * 员工姓名
    */
    private String name;

    /**
    * 密码
    */
    private String password;

    /**
    * 盐
    */
    private String salt;

    /**
    * 出生日期
    */
    private Date dteBirth;

    /**
    * 性别
    */
    private String sex;

    /**
    * 政治面貌（0群众  1团员  2党员）
    */
    private Integer politicalOutlook;

    /**
    * 民族
    */
    private String nation;

    /**
    * 照片
    */
    private String photo;

    /**
    * 电话
    */
    private String phone;

    /**
    * 邮箱
    */
    private String email;

    /**
    * 住址
    */
    private String address;

    /**
    * 身份证
    */
    private String card;

    /**
    * 银行卡号
    */
    private String bankCard;

    /**
    * 创建者
    */
    private Integer createById;

    /**
    * 入职时间
    */
    private Date createTime;

    /**
    * 修改者
    */
    private Integer updateById;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 离职时间
    */
    private Integer departureTime;

    /**
    * 学历
    */
    private String education;

    /**
    * 登陆次数
    */
    private Integer loginCount;

    /**
    * 紧急联系人1
    */
    private String emergencyContact1;

    /**
    * 电话
    */
    private String emergencyContact1Phone;

    /**
    * 紧急联系人2
    */
    private String emergencyContact2;

    /**
    * 电话
    */
    private String emergencyContact2Phone;

    /**
    * 0停用  1正常
    */
    private Boolean state;

    /**
    * 简历
    */
    private String resume;

    /**
    * 婚姻（0未婚  1已婚）
    */
    private Boolean maritalStatus;

    /**
    * 最后登录时间
    */
    private Date loginLastTime;

    /**
    * 最后登录ip地址
    */
    private Date loginLastIp;

    /**
    * 最后登录位置
    */
    private Date loginLastAdd;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Date getDteBirth() {
        return dteBirth;
    }

    public void setDteBirth(Date dteBirth) {
        this.dteBirth = dteBirth;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getPoliticalOutlook() {
        return politicalOutlook;
    }

    public void setPoliticalOutlook(Integer politicalOutlook) {
        this.politicalOutlook = politicalOutlook;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public Integer getCreateById() {
        return createById;
    }

    public void setCreateById(Integer createById) {
        this.createById = createById;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateById() {
        return updateById;
    }

    public void setUpdateById(Integer updateById) {
        this.updateById = updateById;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Integer departureTime) {
        this.departureTime = departureTime;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getEmergencyContact1() {
        return emergencyContact1;
    }

    public void setEmergencyContact1(String emergencyContact1) {
        this.emergencyContact1 = emergencyContact1;
    }

    public String getEmergencyContact1Phone() {
        return emergencyContact1Phone;
    }

    public void setEmergencyContact1Phone(String emergencyContact1Phone) {
        this.emergencyContact1Phone = emergencyContact1Phone;
    }

    public String getEmergencyContact2() {
        return emergencyContact2;
    }

    public void setEmergencyContact2(String emergencyContact2) {
        this.emergencyContact2 = emergencyContact2;
    }

    public String getEmergencyContact2Phone() {
        return emergencyContact2Phone;
    }

    public void setEmergencyContact2Phone(String emergencyContact2Phone) {
        this.emergencyContact2Phone = emergencyContact2Phone;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public String getResume() {
        return resume;
    }

    public void setResume(String resume) {
        this.resume = resume;
    }

    public Boolean getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(Boolean maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public Date getLoginLastTime() {
        return loginLastTime;
    }

    public void setLoginLastTime(Date loginLastTime) {
        this.loginLastTime = loginLastTime;
    }

    public Date getLoginLastIp() {
        return loginLastIp;
    }

    public void setLoginLastIp(Date loginLastIp) {
        this.loginLastIp = loginLastIp;
    }

    public Date getLoginLastAdd() {
        return loginLastAdd;
    }

    public void setLoginLastAdd(Date loginLastAdd) {
        this.loginLastAdd = loginLastAdd;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", jobNumber=").append(jobNumber);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", salt=").append(salt);
        sb.append(", dteBirth=").append(dteBirth);
        sb.append(", sex=").append(sex);
        sb.append(", politicalOutlook=").append(politicalOutlook);
        sb.append(", nation=").append(nation);
        sb.append(", photo=").append(photo);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", address=").append(address);
        sb.append(", card=").append(card);
        sb.append(", bankCard=").append(bankCard);
        sb.append(", createById=").append(createById);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateById=").append(updateById);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", departureTime=").append(departureTime);
        sb.append(", education=").append(education);
        sb.append(", loginCount=").append(loginCount);
        sb.append(", emergencyContact1=").append(emergencyContact1);
        sb.append(", emergencyContact1Phone=").append(emergencyContact1Phone);
        sb.append(", emergencyContact2=").append(emergencyContact2);
        sb.append(", emergencyContact2Phone=").append(emergencyContact2Phone);
        sb.append(", state=").append(state);
        sb.append(", resume=").append(resume);
        sb.append(", maritalStatus=").append(maritalStatus);
        sb.append(", loginLastTime=").append(loginLastTime);
        sb.append(", loginLastIp=").append(loginLastIp);
        sb.append(", loginLastAdd=").append(loginLastAdd);
        sb.append("]");
        return sb.toString();
    }
}